<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>zdma: xzdma.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">zdma
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('xzdma_8h.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">xzdma.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_z_dma___descriptor.html">XZDma_Descriptor</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef contains scatter gather descriptor fields for ZDMA core.  <a href="struct_x_z_dma___descriptor.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct____attribute____.html">__attribute__</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef contains scatter gather descriptor fields for ZDMA core.  <a href="struct____attribute____.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct____attribute____.html">__attribute__</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef contains scatter gather descriptor fields for ZDMA core.  <a href="struct____attribute____.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_z_dma___data_config.html">XZDma_DataConfig</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef contains the data configurations of ZDMA core.  <a href="struct_x_z_dma___data_config.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_z_dma___dscr_config.html">XZDma_DscrConfig</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef contains the descriptor configurations of ZDMA core.  <a href="struct_x_z_dma___dscr_config.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_z_dma___config.html">XZDma_Config</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef contains configuration information for a ZDMA core Each ZDMA core should have a configuration structure associated.  <a href="struct_x_z_dma___config.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_z_dma.html">XZDma</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">The <a class="el" href="struct_x_z_dma.html" title="The XZDma driver instance data structure. ">XZDma</a> driver instance data structure.  <a href="struct_x_z_dma.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_z_dma___transfer.html">XZDma_Transfer</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">This typedef contains the fields for transfer of data.  <a href="struct_x_z_dma___transfer.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:ga9d60ab769eea32f66b28c1a63c2d23cf"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#ga9d60ab769eea32f66b28c1a63c2d23cf">XZDma_IntrGetStatus</a>(InstancePtr)&#160;&#160;&#160;<a class="el" href="group__zdma__v1__0.html#gaf3bdd7a21f9d6add3ec23802122a7a85">XZDma_ReadReg</a>((InstancePtr)-&gt;Config.BaseAddress, XZDMA_CH_ISR_OFFSET)</td></tr>
<tr class="memdesc:ga9d60ab769eea32f66b28c1a63c2d23cf"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns interrupt status read from Interrupt Status Register.  <a href="group__zdma__v1__0.html#ga9d60ab769eea32f66b28c1a63c2d23cf">More...</a><br /></td></tr>
<tr class="separator:ga9d60ab769eea32f66b28c1a63c2d23cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga01dcc0932c4566c5efeefd0b781fea01"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#ga01dcc0932c4566c5efeefd0b781fea01">XZDma_IntrClear</a>(InstancePtr,  Mask)</td></tr>
<tr class="memdesc:ga01dcc0932c4566c5efeefd0b781fea01"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function clears interrupt(s).  <a href="group__zdma__v1__0.html#ga01dcc0932c4566c5efeefd0b781fea01">More...</a><br /></td></tr>
<tr class="separator:ga01dcc0932c4566c5efeefd0b781fea01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2c7e211a1e57e96c48039753506ababe"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#ga2c7e211a1e57e96c48039753506ababe">XZDma_GetIntrMask</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga2c7e211a1e57e96c48039753506ababe"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns interrupt mask to know which interrupts are enabled and which of them were disabled.  <a href="group__zdma__v1__0.html#ga2c7e211a1e57e96c48039753506ababe">More...</a><br /></td></tr>
<tr class="separator:ga2c7e211a1e57e96c48039753506ababe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3c45d0b9b9dbbc8f696d76c821f21368"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#ga3c45d0b9b9dbbc8f696d76c821f21368">XZDma_EnableIntr</a>(InstancePtr,  Mask)&#160;&#160;&#160;(InstancePtr)-&gt;IntrMask = ((InstancePtr)-&gt;IntrMask | (Mask))</td></tr>
<tr class="memdesc:ga3c45d0b9b9dbbc8f696d76c821f21368"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables individual interrupts of the ZDMA core by updating the Interrupt Enable register.  <a href="group__zdma__v1__0.html#ga3c45d0b9b9dbbc8f696d76c821f21368">More...</a><br /></td></tr>
<tr class="separator:ga3c45d0b9b9dbbc8f696d76c821f21368"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaaf5bc66296248406b7fa1a85e736e7f5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#gaaf5bc66296248406b7fa1a85e736e7f5">XZDma_DisableIntr</a>(InstancePtr,  Mask)</td></tr>
<tr class="memdesc:gaaf5bc66296248406b7fa1a85e736e7f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function disables individual interrupts of the ZDMA core by updating the Interrupt Disable register.  <a href="group__zdma__v1__0.html#gaaf5bc66296248406b7fa1a85e736e7f5">More...</a><br /></td></tr>
<tr class="separator:gaaf5bc66296248406b7fa1a85e736e7f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga02b9cd667c274cd764987e24fc57a0ea"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#ga02b9cd667c274cd764987e24fc57a0ea">XZDma_SrcCurPyld</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga02b9cd667c274cd764987e24fc57a0ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns source current payload address under process of ZDMA core.  <a href="group__zdma__v1__0.html#ga02b9cd667c274cd764987e24fc57a0ea">More...</a><br /></td></tr>
<tr class="separator:ga02b9cd667c274cd764987e24fc57a0ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga710e00fbd0a31cf4ae5dbb3619a85272"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#ga710e00fbd0a31cf4ae5dbb3619a85272">XZDma_DstCurPyld</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga710e00fbd0a31cf4ae5dbb3619a85272"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns destination current payload address under process of ZDMA core.  <a href="group__zdma__v1__0.html#ga710e00fbd0a31cf4ae5dbb3619a85272">More...</a><br /></td></tr>
<tr class="separator:ga710e00fbd0a31cf4ae5dbb3619a85272"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga681e10dbfb692a24e359f504c4a5859a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#ga681e10dbfb692a24e359f504c4a5859a">XZDma_SrcDscrCurPyld</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga681e10dbfb692a24e359f504c4a5859a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns source descriptor current payload address under process of ZDMA core.  <a href="group__zdma__v1__0.html#ga681e10dbfb692a24e359f504c4a5859a">More...</a><br /></td></tr>
<tr class="separator:ga681e10dbfb692a24e359f504c4a5859a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga821cc6c9b639f9cf9d2248a83843cc8a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#ga821cc6c9b639f9cf9d2248a83843cc8a">XZDma_DstDscrCurPyld</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga821cc6c9b639f9cf9d2248a83843cc8a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns destination descriptor current payload address under process of ZDMA core.  <a href="group__zdma__v1__0.html#ga821cc6c9b639f9cf9d2248a83843cc8a">More...</a><br /></td></tr>
<tr class="separator:ga821cc6c9b639f9cf9d2248a83843cc8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga48ec0697f63508ea21f1026538a29799"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#ga48ec0697f63508ea21f1026538a29799">XZDma_GetTotalByte</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga48ec0697f63508ea21f1026538a29799"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function gets the count of total bytes transferred through core since last clear in ZDMA core.  <a href="group__zdma__v1__0.html#ga48ec0697f63508ea21f1026538a29799">More...</a><br /></td></tr>
<tr class="separator:ga48ec0697f63508ea21f1026538a29799"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaef935a114c847da7e5014be2f2237b79"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#gaef935a114c847da7e5014be2f2237b79">XZDma_TotalByteClear</a>(InstancePtr)</td></tr>
<tr class="memdesc:gaef935a114c847da7e5014be2f2237b79"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function clears the count of total bytes transferred in ZDMA core.  <a href="group__zdma__v1__0.html#gaef935a114c847da7e5014be2f2237b79">More...</a><br /></td></tr>
<tr class="separator:gaef935a114c847da7e5014be2f2237b79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga53b741795f9b65cc29b1a8f7e5e15f9f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#ga53b741795f9b65cc29b1a8f7e5e15f9f">XZDma_GetSrcIntrCnt</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga53b741795f9b65cc29b1a8f7e5e15f9f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function gets the total number of Interrupt count for source after last call of this API.  <a href="group__zdma__v1__0.html#ga53b741795f9b65cc29b1a8f7e5e15f9f">More...</a><br /></td></tr>
<tr class="separator:ga53b741795f9b65cc29b1a8f7e5e15f9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga20da79b41cec32ba5729c7208359a66d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#ga20da79b41cec32ba5729c7208359a66d">XZDma_GetDstIntrCnt</a>(InstancePtr)</td></tr>
<tr class="memdesc:ga20da79b41cec32ba5729c7208359a66d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function gets the total number of Interrupt count for destination after last call of this API.  <a href="group__zdma__v1__0.html#ga20da79b41cec32ba5729c7208359a66d">More...</a><br /></td></tr>
<tr class="separator:ga20da79b41cec32ba5729c7208359a66d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa521711575261553f4a6d65eece92d61"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#gaa521711575261553f4a6d65eece92d61">XZDma_EnableCh</a>(InstancePtr)</td></tr>
<tr class="memdesc:gaa521711575261553f4a6d65eece92d61"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function Enable's the ZDMA core for initiating the data transfer once the data transfer completes it will be automatically disabled.  <a href="group__zdma__v1__0.html#gaa521711575261553f4a6d65eece92d61">More...</a><br /></td></tr>
<tr class="separator:gaa521711575261553f4a6d65eece92d61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabb977b875b07151264f4a70527052885"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#gabb977b875b07151264f4a70527052885">XZDma_DisableCh</a>(InstancePtr)</td></tr>
<tr class="memdesc:gabb977b875b07151264f4a70527052885"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function Disable's the ZDMA core.  <a href="group__zdma__v1__0.html#gabb977b875b07151264f4a70527052885">More...</a><br /></td></tr>
<tr class="separator:gabb977b875b07151264f4a70527052885"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:ga85527461364d1ae789296f754685e2c1"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#ga85527461364d1ae789296f754685e2c1">XZDma_DoneHandler</a>) (void *CallBackRef)</td></tr>
<tr class="memdesc:ga85527461364d1ae789296f754685e2c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback type for Completion of all data transfers.  <a href="group__zdma__v1__0.html#ga85527461364d1ae789296f754685e2c1">More...</a><br /></td></tr>
<tr class="separator:ga85527461364d1ae789296f754685e2c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad3c74d23e2a890470b3a672dffdc3ffd"><td class="memItemLeft" align="right" valign="top">typedef void(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#gad3c74d23e2a890470b3a672dffdc3ffd">XZDma_ErrorHandler</a>) (void *CallBackRef, u32 ErrorMask)</td></tr>
<tr class="memdesc:gad3c74d23e2a890470b3a672dffdc3ffd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Callback type for all error interrupts.  <a href="group__zdma__v1__0.html#gad3c74d23e2a890470b3a672dffdc3ffd">More...</a><br /></td></tr>
<tr class="separator:gad3c74d23e2a890470b3a672dffdc3ffd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">ZDMA Handler Types</div></td></tr>
<tr class="memitem:ga37a3c751884020089469a54e242ff4cd"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#ga37a3c751884020089469a54e242ff4cd">XZDma_Handler</a> { <a class="el" href="group__zdma__v1__0.html#gga37a3c751884020089469a54e242ff4cdaaffcfeb2b42f83e2654e1d58d609f0ab">XZDMA_HANDLER_DONE</a>, 
<a class="el" href="group__zdma__v1__0.html#gga37a3c751884020089469a54e242ff4cdafc560c87ab5657b331fb72c38c1ad83c">XZDMA_HANDLER_ERROR</a>
 }</td></tr>
<tr class="separator:ga37a3c751884020089469a54e242ff4cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">ZDMA Descriptors Types</div></td></tr>
<tr class="memitem:ga8deecd1bc1f130b591748afb1790a013"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#ga8deecd1bc1f130b591748afb1790a013">XZDma_DscrType</a> { <a class="el" href="group__zdma__v1__0.html#gga8deecd1bc1f130b591748afb1790a013aa5faec59ce5ba9d1875de52ecff6fb09">XZDMA_LINEAR</a>, 
<a class="el" href="group__zdma__v1__0.html#gga8deecd1bc1f130b591748afb1790a013ac4b925288997818ea5ce2be83f8cbfba">XZDMA_LINKEDLIST</a>
 }</td></tr>
<tr class="separator:ga8deecd1bc1f130b591748afb1790a013"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">ZDMA Operation modes</div></td></tr>
<tr class="memitem:ga84e5ba98d56dac2078e4bc68d5b5ab92"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#ga84e5ba98d56dac2078e4bc68d5b5ab92">XZDma_Mode</a> { <a class="el" href="group__zdma__v1__0.html#gga84e5ba98d56dac2078e4bc68d5b5ab92acfd0a78e43b38febc3d4985a8b62efa5">XZDMA_NORMAL_MODE</a>, 
<a class="el" href="group__zdma__v1__0.html#gga84e5ba98d56dac2078e4bc68d5b5ab92adef85a4c2d7f8c93dd77aa8156be25bd">XZDMA_WRONLY_MODE</a>, 
<a class="el" href="group__zdma__v1__0.html#gga84e5ba98d56dac2078e4bc68d5b5ab92ae1f570b5830d33f5969892bfe72da8e1">XZDMA_RDONLY_MODE</a>
 }</td></tr>
<tr class="separator:ga84e5ba98d56dac2078e4bc68d5b5ab92"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">ZDMA state</div></td></tr>
<tr class="memitem:ga19f8494063d56f2f39f9d40e6ded952a"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#ga19f8494063d56f2f39f9d40e6ded952a">XZDmaState</a> { <a class="el" href="group__zdma__v1__0.html#gga19f8494063d56f2f39f9d40e6ded952aa598386ffccc9121fe927b5d761e0d07b">XZDMA_IDLE</a>, 
<a class="el" href="group__zdma__v1__0.html#gga19f8494063d56f2f39f9d40e6ded952aadce3cf4581ae7112ecb82e47127e7202">XZDMA_PAUSE</a>, 
<a class="el" href="group__zdma__v1__0.html#gga19f8494063d56f2f39f9d40e6ded952aac7f53a5b63f7f73793a60c5213c695df">XZDMA_BUSY</a>
 }</td></tr>
<tr class="separator:ga19f8494063d56f2f39f9d40e6ded952a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">ZDMA AXI Burst type</div></td></tr>
<tr class="memitem:gac33d08476ea20e18a5faa8db3799f7c9"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#gac33d08476ea20e18a5faa8db3799f7c9">XZDma_BurstType</a> { <a class="el" href="group__zdma__v1__0.html#ggac33d08476ea20e18a5faa8db3799f7c9aed5f41fb63463ce8370fa81049f72dd9">XZDMA_FIXED_BURST</a> = 0, 
<a class="el" href="group__zdma__v1__0.html#ggac33d08476ea20e18a5faa8db3799f7c9aa723f72b862e0f3587da5c66c70dd13b">XZDMA_INCR_BURST</a>
 }</td></tr>
<tr class="separator:gac33d08476ea20e18a5faa8db3799f7c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga3de69499d007ed840aa3b95fe9b63354"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_z_dma___config.html">XZDma_Config</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#ga3de69499d007ed840aa3b95fe9b63354">XZDma_LookupConfig</a> (u16 DeviceId)</td></tr>
<tr class="memdesc:ga3de69499d007ed840aa3b95fe9b63354"><td class="mdescLeft">&#160;</td><td class="mdescRight">XZDma_LookupConfig returns a reference to an <a class="el" href="struct_x_z_dma___config.html" title="This typedef contains configuration information for a ZDMA core Each ZDMA core should have a configur...">XZDma_Config</a> structure based on the unique device id, <em>DeviceId</em>.  <a href="group__zdma__v1__0.html#ga3de69499d007ed840aa3b95fe9b63354">More...</a><br /></td></tr>
<tr class="separator:ga3de69499d007ed840aa3b95fe9b63354"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad882e6d7430871e5b71643c8be2512d5"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#gad882e6d7430871e5b71643c8be2512d5">XZDma_CfgInitialize</a> (<a class="el" href="struct_x_z_dma.html">XZDma</a> *InstancePtr, <a class="el" href="struct_x_z_dma___config.html">XZDma_Config</a> *CfgPtr, u32 EffectiveAddr)</td></tr>
<tr class="memdesc:gad882e6d7430871e5b71643c8be2512d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes an ZDMA core.  <a href="group__zdma__v1__0.html#gad882e6d7430871e5b71643c8be2512d5">More...</a><br /></td></tr>
<tr class="separator:gad882e6d7430871e5b71643c8be2512d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf1772f190fe0a67a17c78f5f23fc8024"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#gaf1772f190fe0a67a17c78f5f23fc8024">XZDma_SetMode</a> (<a class="el" href="struct_x_z_dma.html">XZDma</a> *InstancePtr, u8 IsSgDma, <a class="el" href="group__zdma__v1__0.html#ga84e5ba98d56dac2078e4bc68d5b5ab92">XZDma_Mode</a> Mode)</td></tr>
<tr class="memdesc:gaf1772f190fe0a67a17c78f5f23fc8024"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the pointer type and mode in which ZDMA needs to transfer the data.  <a href="group__zdma__v1__0.html#gaf1772f190fe0a67a17c78f5f23fc8024">More...</a><br /></td></tr>
<tr class="separator:gaf1772f190fe0a67a17c78f5f23fc8024"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4f701b228ebc77f96faaba09cd9c63db"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#ga4f701b228ebc77f96faaba09cd9c63db">XZDma_CreateBDList</a> (<a class="el" href="struct_x_z_dma.html">XZDma</a> *InstancePtr, <a class="el" href="group__zdma__v1__0.html#ga8deecd1bc1f130b591748afb1790a013">XZDma_DscrType</a> TypeOfDscr, UINTPTR Dscr_MemPtr, u32 NoOfBytes)</td></tr>
<tr class="memdesc:ga4f701b228ebc77f96faaba09cd9c63db"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the descriptor type and descriptor pointer's start address of both source and destination based on the memory allocated by user and also calculates no of descriptors(BDs) can be created in the allocated memory.  <a href="group__zdma__v1__0.html#ga4f701b228ebc77f96faaba09cd9c63db">More...</a><br /></td></tr>
<tr class="separator:ga4f701b228ebc77f96faaba09cd9c63db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9f83e94a6ecae10b6bff851d76ffef24"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#ga9f83e94a6ecae10b6bff851d76ffef24">XZDma_SetChDataConfig</a> (<a class="el" href="struct_x_z_dma.html">XZDma</a> *InstancePtr, <a class="el" href="struct_x_z_dma___data_config.html">XZDma_DataConfig</a> *Configure)</td></tr>
<tr class="memdesc:ga9f83e94a6ecae10b6bff851d76ffef24"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the data attributes and control configurations of a ZDMA core based on the inputs provided.  <a href="group__zdma__v1__0.html#ga9f83e94a6ecae10b6bff851d76ffef24">More...</a><br /></td></tr>
<tr class="separator:ga9f83e94a6ecae10b6bff851d76ffef24"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gacdca22a1e7cd74b3f2acbfec3f0509f4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#gacdca22a1e7cd74b3f2acbfec3f0509f4">XZDma_GetChDataConfig</a> (<a class="el" href="struct_x_z_dma.html">XZDma</a> *InstancePtr, <a class="el" href="struct_x_z_dma___data_config.html">XZDma_DataConfig</a> *Configure)</td></tr>
<tr class="memdesc:gacdca22a1e7cd74b3f2acbfec3f0509f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function gets the data attributes and control configurations of a ZDMA core.  <a href="group__zdma__v1__0.html#gacdca22a1e7cd74b3f2acbfec3f0509f4">More...</a><br /></td></tr>
<tr class="separator:gacdca22a1e7cd74b3f2acbfec3f0509f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga860cde1482bc78429ea5c6f1d3da9014"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#ga860cde1482bc78429ea5c6f1d3da9014">XZDma_SetChDscrConfig</a> (<a class="el" href="struct_x_z_dma.html">XZDma</a> *InstancePtr, <a class="el" href="struct_x_z_dma___dscr_config.html">XZDma_DscrConfig</a> *Configure)</td></tr>
<tr class="memdesc:ga860cde1482bc78429ea5c6f1d3da9014"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets the descriptor attributes based on the inputs provided in the structure.  <a href="group__zdma__v1__0.html#ga860cde1482bc78429ea5c6f1d3da9014">More...</a><br /></td></tr>
<tr class="separator:ga860cde1482bc78429ea5c6f1d3da9014"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga595ab84007b44249fe04571d18856158"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#ga595ab84007b44249fe04571d18856158">XZDma_GetChDscrConfig</a> (<a class="el" href="struct_x_z_dma.html">XZDma</a> *InstancePtr, <a class="el" href="struct_x_z_dma___dscr_config.html">XZDma_DscrConfig</a> *Configure)</td></tr>
<tr class="memdesc:ga595ab84007b44249fe04571d18856158"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function gets the descriptor attributes of the channel.  <a href="group__zdma__v1__0.html#ga595ab84007b44249fe04571d18856158">More...</a><br /></td></tr>
<tr class="separator:ga595ab84007b44249fe04571d18856158"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga70f7466e97aae2126181727774f6e6bb"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#ga70f7466e97aae2126181727774f6e6bb">XZDma_Start</a> (<a class="el" href="struct_x_z_dma.html">XZDma</a> *InstancePtr, <a class="el" href="struct_x_z_dma___transfer.html">XZDma_Transfer</a> *Data, u32 Num)</td></tr>
<tr class="memdesc:ga70f7466e97aae2126181727774f6e6bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets all the required fields for initiating data transfer.  <a href="group__zdma__v1__0.html#ga70f7466e97aae2126181727774f6e6bb">More...</a><br /></td></tr>
<tr class="separator:ga70f7466e97aae2126181727774f6e6bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga15a0124d42f8ff48e54f32c1b643fe7b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#ga15a0124d42f8ff48e54f32c1b643fe7b">XZDma_WOData</a> (<a class="el" href="struct_x_z_dma.html">XZDma</a> *InstancePtr, u32 *Buffer)</td></tr>
<tr class="memdesc:ga15a0124d42f8ff48e54f32c1b643fe7b"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function preloads the buffers which will be used in write only mode.  <a href="group__zdma__v1__0.html#ga15a0124d42f8ff48e54f32c1b643fe7b">More...</a><br /></td></tr>
<tr class="separator:ga15a0124d42f8ff48e54f32c1b643fe7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7cb39835692353e5c34d95938b8ce8d0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#ga7cb39835692353e5c34d95938b8ce8d0">XZDma_Resume</a> (<a class="el" href="struct_x_z_dma.html">XZDma</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga7cb39835692353e5c34d95938b8ce8d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function resume the paused state of ZDMA core and starts the transfer from where it has paused.  <a href="group__zdma__v1__0.html#ga7cb39835692353e5c34d95938b8ce8d0">More...</a><br /></td></tr>
<tr class="separator:ga7cb39835692353e5c34d95938b8ce8d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf236c2323636d87ab0888b2d6f55a313"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#gaf236c2323636d87ab0888b2d6f55a313">XZDma_Reset</a> (<a class="el" href="struct_x_z_dma.html">XZDma</a> *InstancePtr)</td></tr>
<tr class="memdesc:gaf236c2323636d87ab0888b2d6f55a313"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function resets the ZDMA core.  <a href="group__zdma__v1__0.html#gaf236c2323636d87ab0888b2d6f55a313">More...</a><br /></td></tr>
<tr class="separator:gaf236c2323636d87ab0888b2d6f55a313"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabbb337d990f31dc8932356f5abeb78bf"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__zdma__v1__0.html#ga19f8494063d56f2f39f9d40e6ded952a">XZDmaState</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#gabbb337d990f31dc8932356f5abeb78bf">XZDma_ChannelState</a> (<a class="el" href="struct_x_z_dma.html">XZDma</a> *InstancePtr)</td></tr>
<tr class="memdesc:gabbb337d990f31dc8932356f5abeb78bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns the state of ZDMA core.  <a href="group__zdma__v1__0.html#gabbb337d990f31dc8932356f5abeb78bf">More...</a><br /></td></tr>
<tr class="separator:gabbb337d990f31dc8932356f5abeb78bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga166edb355a4395294e7910c68f4840ca"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#ga166edb355a4395294e7910c68f4840ca">XZDma_SelfTest</a> (<a class="el" href="struct_x_z_dma.html">XZDma</a> *InstancePtr)</td></tr>
<tr class="memdesc:ga166edb355a4395294e7910c68f4840ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">This file contains a diagnostic self-test function for the ZDMA driver.  <a href="group__zdma__v1__0.html#ga166edb355a4395294e7910c68f4840ca">More...</a><br /></td></tr>
<tr class="separator:ga166edb355a4395294e7910c68f4840ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa5012fbb827d2330cae8cb90cafb388c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#gaa5012fbb827d2330cae8cb90cafb388c">XZDma_IntrHandler</a> (void *Instance)</td></tr>
<tr class="memdesc:gaa5012fbb827d2330cae8cb90cafb388c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is the interrupt handler for the ZDMA core.  <a href="group__zdma__v1__0.html#gaa5012fbb827d2330cae8cb90cafb388c">More...</a><br /></td></tr>
<tr class="separator:gaa5012fbb827d2330cae8cb90cafb388c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga78a9c500b9c87963f7695fc5edf87a21"><td class="memItemLeft" align="right" valign="top">s32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__zdma__v1__0.html#ga78a9c500b9c87963f7695fc5edf87a21">XZDma_SetCallBack</a> (<a class="el" href="struct_x_z_dma.html">XZDma</a> *InstancePtr, <a class="el" href="group__zdma__v1__0.html#ga37a3c751884020089469a54e242ff4cd">XZDma_Handler</a> HandlerType, void *CallBackFunc, void *CallBackRef)</td></tr>
<tr class="memdesc:ga78a9c500b9c87963f7695fc5edf87a21"><td class="mdescLeft">&#160;</td><td class="mdescRight">This routine installs an asynchronous callback function for the given HandlerType.  <a href="group__zdma__v1__0.html#ga78a9c500b9c87963f7695fc5edf87a21">More...</a><br /></td></tr>
<tr class="separator:ga78a9c500b9c87963f7695fc5edf87a21"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
